go/types.Struct.fields (field)

31 uses

	go/types (current package)
		builtins.go#L807: 		for _, f := range u.fields {
		decl.go#L761: 		for _, fld := range t.fields {
		expr.go#L1357: 			if utyp.fields == nil {
		expr.go#L1364: 			fields := utyp.fields
		expr.go#L1382: 					i := fieldIndex(utyp.fields, check.pkg, key.Name)
		infer.go#L392: 		for _, fld := range t.fields {
		infer.go#L731: 		w.varList(t.fields)
		lookup.go#L154: 				for i, f := range t.fields {
		methodset.go#L130: 				for i, f := range t.fields {
		predicates.go#L129: 		for _, f := range t.fields {
		predicates.go#L214: 				for i, f := range x.fields {
		predicates.go#L215: 					g := y.fields[i]
		sizes.go#L61: 		for _, f := range t.fields {
		sizes.go#L154: 		offsets := s.Offsetsof(t.fields)
		sizes.go#L155: 		return offsets[n-1] + s.Sizeof(t.fields[n-1].typ)
		sizes.go#L229: 			offsets = s.Offsetsof(T.fields)
		sizes.go#L240: 			offsets = stdSizes.Offsetsof(T.fields)
		sizes.go#L254: 		typ = s.fields[i].typ
		struct.go#L18: 	fields []*Var   // fields != nil indicates the struct is set up (possibly with len(fields) == 0)
		struct.go#L36: 	s := &Struct{fields: fields, tags: tags}
		struct.go#L42: func (s *Struct) NumFields() int { return len(s.fields) }
		struct.go#L45: func (s *Struct) Field(i int) *Var { return s.fields[i] }
		struct.go#L62: 	if s.fields == nil {
		struct.go#L63: 		s.fields = make([]*Var, 0)
		struct.go#L174: 	styp.fields = fields
		subst.go#L104: 		if fields, copied := subst.varList(t.fields); copied {
		subst.go#L105: 			s := &Struct{fields: fields, tags: t.tags}
		typestring.go#L154: 		for i, f := range t.fields {
		unify.go#L426: 				for i, f := range x.fields {
		unify.go#L427: 					g := y.fields[i]
		validtype.go#L43: 		for _, f := range t.fields {